<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnSave" value="保存" ng-click="btnSave()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn value="放弃" ng-click="btnCancel()"></Btn></div>
  <div class="LableDiv" style="width:50px;"><Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn></div>
  <div class="LableDiv" style="width:50px;">
    <BtnFind DisplayName="查找" WindowTitle="交接区" module="Module.ConnectArea">
      <Column type="0" width="150px" displayname="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" displayname="名称" valuefield="Name"></Column>
      <Column type="dropdownlist" width="100px" enum="DeliveryModeEnum" displayname="配送模式" valuefield="DeliveryMode"></Column>
      <Column type="dropdownlist" width="100px" enum="PushPullModeEnum" displayname="推拉模式" valuefield="PushPullMode"></Column>
      <Column type="textbox" width="100px" displayname="上游部门" valuefield="UpDepartment.Name" IsFilter="false"></Column>
      <Column type="textbox" width="100px" displayname="下游部门" valuefield="DownDepartment.Name" IsFilter="false"></Column>
    </BtnFind>
  </div>
  <div class="LableDiv" style="width:60px;"><Btn value="列表" ng-click="btnList()"></Btn></div>
  <div class="LableDiv" style="width:50px;"><Btn value="首页" ng-click="btnFirstPage()"></Btn></div>
  <div class="LableDiv" style="width:50px;"><Btn value="上页" ng-click="btnPrePage()"></Btn></div>
  <div class="LableDiv" style="width:50px;"><Btn value="下页" ng-click="btnNextPage()"></Btn></div>
  <div class="LableDiv" style="width:50px;"><Btn value="末页" ng-click="btnLastPage()"></Btn></div>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label>编码</Label></div>
  <div class="InputDiv"><TextBox value="Module.ConnectArea.FocusedRecord.Code" isempty="false"></TextBox></div>
  <div class="LableDiv"><Label>名称</Label></div>
  <div class="InputDiv"><TextBox value="Module.ConnectArea.FocusedRecord.Name"></TextBox></div>
  <div class="LableDiv"><Label>配送模式</Label></div>
  <div class="InputDiv"><DropDownList value="Module.ConnectArea.FocusedRecord.DeliveryMode" enum="DeliveryModeEnum"></DropDownList></div>
  <div class="LableDiv"><Label>推拉模式</Label></div>
  <div class="InputDiv"><DropDownList value="Module.ConnectArea.FocusedRecord.PushPullMode" enum="PushPullModeEnum"></DropDownList></div>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label>上游部门</Label></div>
  <div class="InputDiv">
    <Refer EntityName="Department" WindowTitle="部门" key="Module.ConnectArea.FocusedRecord.UpDepartment._id" value="Module.ConnectArea.FocusedRecord.UpDepartment.Code" text="Module.ConnectArea.FocusedRecord.UpDepartment.Name" ValueField="Code" TextField="Name">
        <Column type="0" width="150px" displayname="编码" valuefield="Code"></Column>
        <Column type="textbox" width="150px" displayname="名称" valuefield="Name"></Column>
        <Column width="286px" displayname="备注" valuefield="Remark"></Column>
    </Refer>
  </div>
  <div class="LableDiv"><Label>下游部门</Label></div>
  <div class="InputDiv">
    <Refer EntityName="Department" WindowTitle="部门" key="Module.ConnectArea.FocusedRecord.DownDepartment._id" value="Module.ConnectArea.FocusedRecord.DownDepartment.Code" text="Module.ConnectArea.FocusedRecord.DownDepartment.Name" ValueField="Code" TextField="Name">
        <Column type="0" width="150px" displayname="编码" valuefield="Code"></Column>
        <Column type="textbox" width="150px" displayname="名称" valuefield="Name"></Column>
        <Column width="286px" displayname="备注" valuefield="Remark"></Column>
    </Refer>
  </div>
  <div class="LableDiv"><Label>生效</Label></div>
  <div class="InputDiv"><CheckBox value="Module.ConnectArea.FocusedRecord.IsEffective"></CheckBox></div>
</div>
